<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap 模板</title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <!-- 引入 Bootstrap -->
      <link href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

       <style>
           .main{width:1100px;margin: 0 auto;}
           .wd-100{width: 100px;}
       </style>
   </head>
   <body>
      <h1>Hello, world! 模板</h1>
      <div class="main">
          <form action="/querySearch">
              <div class="col-sm-12" style="margin:10px auto">
                <label  class="control-label col-sm-1" style="padding-top: 10px;padding-left: 0px;padding-right: 0px">名字：</label>
                <div class="col-sm-2">
                    <input type="text" id="name" name="uname" value="" style="background: #FFFFFF;" autocomplete="off" class="form-control valid">
                </div>
                <label  class="control-label col-sm-1" style="padding-top: 10px;padding-left: 0px;padding-right: 0px">年龄：</label>
                <div class="col-sm-2">
                    <input type="text" id="age" name="age" value="" style="background: #FFFFFF;" class="form-control">
                </div>
                <input type="submit" id="bnt9" class="btn btn-primary enterSearchBtn" value="查询">
            </div>
          </form>
          <table class="table table-bordered">
              <thead>
                <tr>
                  <th>id</th>
                  <th>名字</th>
                  <th>年龄</th>
                </tr>
              </thead>
              <tbody>
              {% for p in list %}
                  <tr>
                      <td>{{ p.id }}</td>
                      <td>{{ p.name }}</td>
                      <td>{{ p.age }}</td>
                  </tr>
              {% endfor %}
              </tbody>
            </table>
          </div>
      <!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
      <script src="https://code.jquery.com/jquery.js"></script>
   </body>
</html>